<template>
    <div >
        <Row>
            <Col span="12" >
                <div  class="tableLeft">
                    <BaseAppTable v-on:getAppId="getAppId"></BaseAppTable>
                </div>
    
            </Col>
            <Col span="12">
                <div  class="tableRight">
                    <BaseSigTable v-bind:appId="appId"></BaseSigTable>
                </div>            
            </Col>
        </Row>
    
    </div>
</template>
<script>

import BaseAppTable from './BaseAppTable'
import BaseSigTable from './BaseSigTable'

export default {
    components: {
        BaseAppTable, BaseSigTable
    },
    data() {
        return {
            //选中的学院id
            appId:'',
        }
    },
    methods: {
        //获得子组件的数据
        getAppId:function (appId) {
            this.appId = appId;
        }

    },
    mounted() {

    }
}
</script>

<style>
.btn-group {
    margin-bottom: 5px;
}
.tableLeft{
    margin-right: 10px;
}
.tableRight{
    margin-left: 10px;
}
</style>
